package com.sg.service.biz.framework.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.framework.req.*;
import com.sg.dto.biz.framework.res.*;
import com.sg.dto.integration.component.AnalysisFieldBatchDataComReqDto;
import com.sg.dto.integration.component.AnalysisFieldBatchDataComRespDto;
import com.sg.service.biz.framework.InterfaceModeService;
import com.wicket.okrcomponent.integration.InterfaceModeService;
import com.sg.common.exception.Assert;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class BusinessAtomServiceImpl
        implements com.wicket.okrframework.biz.service.BusinessAtomService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    private InterfaceModeService interfaceModeService;
    @Resource
    private InterfaceModeService interfaceModeService;

    /**
     * D1查询框架内存业务数据列表(业务原子)[9141]
     * gen by moon at 4/2/2024, 11:34:03 PM
     */
    @Trace(operationName = "D1查询框架内存业务数据列表(业务原子)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryFrameWorkMemoryBusinessSetDataListComRespDto queryFrameWorkMemoryBusinessSetDataListCom(QueryFrameWorkMemoryBusinessSetDataListComReqDto reqDto) {


        QueryFrameWorkMemoryBusinessDataListComRespDto queryFrameWorkMemoryBusinessDataListComRespDto_1 = null;
//步骤0: D2-分析单字段批量转数据集(公共) - analysisFieldBatchDataCom
        AnalysisFieldBatchDataComRespDto analysisFieldBatchDataComRespDto = null;
        AnalysisFieldBatchDataComReqDto analysisFieldBatchDataComReqDto = new AnalysisFieldBatchDataComReqDto();
        if (reqDto != null) {
            analysisFieldBatchDataComReqDto.setCustomField1(reqDto.getCustomField1());//SimpleFieldAssign//sourceId:1690921_1
            analysisFieldBatchDataComReqDto.setCustomField2(reqDto.getCustomField2());//SimpleFieldAssign//sourceId:1690923_1
            analysisFieldBatchDataComReqDto.setCustomField3(reqDto.getCustomField3());//SimpleFieldAssign//sourceId:1690925_1
            analysisFieldBatchDataComReqDto.setCustomField4(reqDto.getCustomField4());//SimpleFieldAssign//sourceId:1690927_1
            analysisFieldBatchDataComReqDto.setCustomField5(reqDto.getCustomField5());//SimpleFieldAssign//sourceId:1690929_1
            analysisFieldBatchDataComReqDto.setCustomField6(reqDto.getCustomField6());//SimpleFieldAssign//sourceId:1690931_1
            analysisFieldBatchDataComReqDto.setCustomField7(reqDto.getCustomField7());//SimpleFieldAssign//sourceId:1690933_1
            analysisFieldBatchDataComReqDto.setCustomField8(reqDto.getCustomField8());//SimpleFieldAssign//sourceId:1690935_1
            analysisFieldBatchDataComReqDto.setCustomField9(reqDto.getCustomField9());//SimpleFieldAssign//sourceId:1690937_1
            analysisFieldBatchDataComReqDto.setCustomField10(reqDto.getCustomField10());//SimpleFieldAssign//sourceId:1690939_1
            analysisFieldBatchDataComReqDto.setCustomField11(reqDto.getCustomField11());//SimpleFieldAssign//sourceId:1690941_1
            analysisFieldBatchDataComReqDto.setCustomField12(reqDto.getCustomField12());//SimpleFieldAssign//sourceId:1690943_1
            analysisFieldBatchDataComReqDto.setCustomField13(reqDto.getCustomField13());//SimpleFieldAssign//sourceId:1690945_1
            analysisFieldBatchDataComReqDto.setCustomField14(reqDto.getCustomField14());//SimpleFieldAssign//sourceId:1690947_1
            analysisFieldBatchDataComReqDto.setCustomField15(reqDto.getCustomField15());//SimpleFieldAssign//sourceId:1690949_1
            analysisFieldBatchDataComReqDto.setCustomField16(reqDto.getCustomField16());//SimpleFieldAssign//sourceId:1690951_1
            analysisFieldBatchDataComReqDto.setCustomField17(reqDto.getCustomField17());//SimpleFieldAssign//sourceId:1690953_1
            analysisFieldBatchDataComReqDto.setCustomField18(reqDto.getCustomField18());//SimpleFieldAssign//sourceId:1690955_1
            analysisFieldBatchDataComReqDto.setCustomField19(reqDto.getCustomField19());//SimpleFieldAssign//sourceId:1690957_1
            analysisFieldBatchDataComReqDto.setCustomField20(reqDto.getCustomField20());//SimpleFieldAssign//sourceId:1690959_1
            analysisFieldBatchDataComReqDto.setCustomField21(reqDto.getCustomField21());//SimpleFieldAssign//sourceId:1690961_1
            analysisFieldBatchDataComReqDto.setCustomField22(reqDto.getCustomField22());//SimpleFieldAssign//sourceId:1690963_1
            analysisFieldBatchDataComReqDto.setCustomField23(reqDto.getCustomField23());//SimpleFieldAssign//sourceId:1690965_1
            analysisFieldBatchDataComReqDto.setCustomField24(reqDto.getCustomField24());//SimpleFieldAssign//sourceId:1690967_1
            analysisFieldBatchDataComReqDto.setCustomField25(reqDto.getCustomField25());//SimpleFieldAssign//sourceId:1690969_1
            analysisFieldBatchDataComReqDto.setCustomField26(reqDto.getCustomField26());//SimpleFieldAssign//sourceId:1690971_1
            analysisFieldBatchDataComReqDto.setCustomField27(reqDto.getCustomField27());//SimpleFieldAssign//sourceId:1690973_1
            analysisFieldBatchDataComReqDto.setCustomField28(reqDto.getCustomField28());//SimpleFieldAssign//sourceId:1690975_1
            analysisFieldBatchDataComReqDto.setCustomField29(reqDto.getCustomField29());//SimpleFieldAssign//sourceId:1690977_1
            analysisFieldBatchDataComReqDto.setCustomField30(reqDto.getCustomField30());//SimpleFieldAssign//sourceId:1690979_1
            analysisFieldBatchDataComReqDto.setCustomField31(reqDto.getCustomField31());//SimpleFieldAssign//sourceId:1690981_1
            analysisFieldBatchDataComReqDto.setCustomField32(reqDto.getCustomField32());//SimpleFieldAssign//sourceId:1690983_1
            analysisFieldBatchDataComReqDto.setCustomField33(reqDto.getCustomField33());//SimpleFieldAssign//sourceId:1690985_1
            analysisFieldBatchDataComReqDto.setCustomField34(reqDto.getCustomField34());//SimpleFieldAssign//sourceId:1690987_1
            analysisFieldBatchDataComReqDto.setCustomField35(reqDto.getCustomField35());//SimpleFieldAssign//sourceId:1690989_1
            analysisFieldBatchDataComReqDto.setCustomField36(reqDto.getCustomField36());//SimpleFieldAssign//sourceId:1690991_1
            analysisFieldBatchDataComReqDto.setCustomField37(reqDto.getCustomField37());//SimpleFieldAssign//sourceId:1690993_1
            analysisFieldBatchDataComReqDto.setCustomField38(reqDto.getCustomField38());//SimpleFieldAssign//sourceId:1690995_1
            analysisFieldBatchDataComReqDto.setCustomField39(reqDto.getCustomField39());//SimpleFieldAssign//sourceId:1690997_1
            analysisFieldBatchDataComReqDto.setCustomField40(reqDto.getCustomField40());//SimpleFieldAssign//sourceId:1690999_1
            analysisFieldBatchDataComReqDto.setCustomField41(reqDto.getCustomField41());//SimpleFieldAssign//sourceId:1691001_1
            analysisFieldBatchDataComReqDto.setCustomField42(reqDto.getCustomField42());//SimpleFieldAssign//sourceId:1691003_1
            analysisFieldBatchDataComReqDto.setCustomField43(reqDto.getCustomField43());//SimpleFieldAssign//sourceId:1691005_1
            analysisFieldBatchDataComReqDto.setCustomField44(reqDto.getCustomField44());//SimpleFieldAssign//sourceId:1691007_1
            analysisFieldBatchDataComReqDto.setCustomField45(reqDto.getCustomField45());//SimpleFieldAssign//sourceId:1691009_1
            analysisFieldBatchDataComReqDto.setCustomField46(reqDto.getCustomField46());//SimpleFieldAssign//sourceId:1691011_1
            analysisFieldBatchDataComReqDto.setCustomField47(reqDto.getCustomField47());//SimpleFieldAssign//sourceId:1691013_1
            analysisFieldBatchDataComReqDto.setCustomField48(reqDto.getCustomField48());//SimpleFieldAssign//sourceId:1691015_1
            analysisFieldBatchDataComReqDto.setCustomField49(reqDto.getCustomField49());//SimpleFieldAssign//sourceId:1691017_1
            analysisFieldBatchDataComReqDto.setCustomField50(reqDto.getCustomField50());//SimpleFieldAssign//sourceId:1691019_1
        }

        /*D2-分析单字段批量转数据集(公共)[8405]   */

        analysisFieldBatchDataComRespDto = interfaceModeService.analysisFieldBatchDataCom(analysisFieldBatchDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D1查询框架内存业务数据列表(公共) - queryFrameWorkMemoryBusinessDataListCom
        QueryFrameWorkMemoryBusinessDataListComRespDto queryFrameWorkMemoryBusinessDataListComRespDto = null;
        if (analysisFieldBatchDataComRespDto != null) {
            QueryFrameWorkMemoryBusinessDataListComReqDto queryFrameWorkMemoryBusinessDataListComReqDto = new QueryFrameWorkMemoryBusinessDataListComReqDto();
            if (analysisFieldBatchDataComRespDto != null && analysisFieldBatchDataComRespDto.getFieldBatchDataList() != null && !CollectionUtil.isEmpty(analysisFieldBatchDataComRespDto.getFieldBatchDataList())) {
                queryFrameWorkMemoryBusinessDataListComReqDto.setMemoryBusinessResDataList(analysisFieldBatchDataComRespDto.getFieldBatchDataList().stream().map(item -> item.getFieldName())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1690916_1
            }
            if (reqDto != null) {
                queryFrameWorkMemoryBusinessDataListComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1690917_1
                queryFrameWorkMemoryBusinessDataListComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1690918_1
            }

            /*D1查询框架内存业务数据列表(公共)[9140]   */
            Assert.isNull(queryFrameWorkMemoryBusinessDataListComReqDto.getDataObjectBatchCode(), "D1查询框架内存业务数据列表(业务原子)-D1查询框架内存业务数据列表(公共)-数据对象批次标识不能为空", false);
            Assert.isNull(queryFrameWorkMemoryBusinessDataListComReqDto.getBusinessDataObject(), "D1查询框架内存业务数据列表(业务原子)-D1查询框架内存业务数据列表(公共)-业务数据对象不能为空", false);
            queryFrameWorkMemoryBusinessDataListComRespDto = interfaceModeService.queryFrameWorkMemoryBusinessDataListCom(queryFrameWorkMemoryBusinessDataListComReqDto)/*vcase invoke isSameApp*/;


            queryFrameWorkMemoryBusinessDataListComRespDto_1 = queryFrameWorkMemoryBusinessDataListComRespDto;
        }

        QueryFrameWorkMemoryBusinessSetDataListComRespDto retData = new QueryFrameWorkMemoryBusinessSetDataListComRespDto();
        if (queryFrameWorkMemoryBusinessDataListComRespDto_1 != null) {
            retData.setMemoryBusinessResDataList(queryFrameWorkMemoryBusinessDataListComRespDto_1.getMemoryBusinessResDataList().stream().map(item -> BeanUtil.toBean(item, MemoryBusinessResDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1691088_1
        }


        return retData;
    }

    /**
     * D1新增框架内存业务数据(业务原子)[9137]
     * gen by moon at 4/3/2024, 12:09:32 AM
     */
    @Trace(operationName = "D1新增框架内存业务数据(业务原子)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddFrameWorkMemoryBusinessSetDataComRespDto addFrameWorkMemoryBusinessSetDataCom(AddFrameWorkMemoryBusinessSetDataComReqDto reqDto) {


        //步骤0: D2-分析单字段批量转数据集(公共) - analysisFieldBatchDataCom
        AnalysisFieldBatchDataComRespDto analysisFieldBatchDataComRespDto = null;
        AnalysisFieldBatchDataComReqDto analysisFieldBatchDataComReqDto = new AnalysisFieldBatchDataComReqDto();
        if (reqDto != null) {
            analysisFieldBatchDataComReqDto.setCustomField1(reqDto.getCustomField1());//SimpleFieldAssign//sourceId:1690198_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue1(reqDto.getCustomFieldValue1());//SimpleFieldAssign//sourceId:1690199_1
            analysisFieldBatchDataComReqDto.setCustomField2(reqDto.getCustomField2());//SimpleFieldAssign//sourceId:1690200_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue2(reqDto.getCustomFieldValue2());//SimpleFieldAssign//sourceId:1690201_1
            analysisFieldBatchDataComReqDto.setCustomField3(reqDto.getCustomField3());//SimpleFieldAssign//sourceId:1690202_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue3(reqDto.getCustomFieldValue3());//SimpleFieldAssign//sourceId:1690203_1
            analysisFieldBatchDataComReqDto.setCustomField4(reqDto.getCustomField4());//SimpleFieldAssign//sourceId:1690204_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue4(reqDto.getCustomFieldValue4());//SimpleFieldAssign//sourceId:1690205_1
            analysisFieldBatchDataComReqDto.setCustomField5(reqDto.getCustomField5());//SimpleFieldAssign//sourceId:1690206_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue5(reqDto.getCustomFieldValue5());//SimpleFieldAssign//sourceId:1690207_1
            analysisFieldBatchDataComReqDto.setCustomField6(reqDto.getCustomField6());//SimpleFieldAssign//sourceId:1690208_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue6(reqDto.getCustomFieldValue6());//SimpleFieldAssign//sourceId:1690209_1
            analysisFieldBatchDataComReqDto.setCustomField7(reqDto.getCustomField7());//SimpleFieldAssign//sourceId:1690210_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue7(reqDto.getCustomFieldValue7());//SimpleFieldAssign//sourceId:1690211_1
            analysisFieldBatchDataComReqDto.setCustomField8(reqDto.getCustomField8());//SimpleFieldAssign//sourceId:1690212_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue8(reqDto.getCustomFieldValue8());//SimpleFieldAssign//sourceId:1690213_1
            analysisFieldBatchDataComReqDto.setCustomField9(reqDto.getCustomField9());//SimpleFieldAssign//sourceId:1690214_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue9(reqDto.getCustomFieldValue9());//SimpleFieldAssign//sourceId:1690215_1
            analysisFieldBatchDataComReqDto.setCustomField10(reqDto.getCustomField10());//SimpleFieldAssign//sourceId:1690216_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue10(reqDto.getCustomFieldValue10());//SimpleFieldAssign//sourceId:1690217_1
            analysisFieldBatchDataComReqDto.setCustomField11(reqDto.getCustomField11());//SimpleFieldAssign//sourceId:1690218_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue11(reqDto.getCustomFieldValue11());//SimpleFieldAssign//sourceId:1690219_1
            analysisFieldBatchDataComReqDto.setCustomField12(reqDto.getCustomField12());//SimpleFieldAssign//sourceId:1690220_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue12(reqDto.getCustomFieldValue12());//SimpleFieldAssign//sourceId:1690221_1
            analysisFieldBatchDataComReqDto.setCustomField13(reqDto.getCustomField13());//SimpleFieldAssign//sourceId:1690222_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue13(reqDto.getCustomFieldValue13());//SimpleFieldAssign//sourceId:1690223_1
            analysisFieldBatchDataComReqDto.setCustomField14(reqDto.getCustomField14());//SimpleFieldAssign//sourceId:1690224_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue14(reqDto.getCustomFieldValue14());//SimpleFieldAssign//sourceId:1690225_1
            analysisFieldBatchDataComReqDto.setCustomField15(reqDto.getCustomField15());//SimpleFieldAssign//sourceId:1690226_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue15(reqDto.getCustomFieldValue15());//SimpleFieldAssign//sourceId:1690227_1
            analysisFieldBatchDataComReqDto.setCustomField16(reqDto.getCustomField16());//SimpleFieldAssign//sourceId:1690228_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue16(reqDto.getCustomFieldValue16());//SimpleFieldAssign//sourceId:1690229_1
            analysisFieldBatchDataComReqDto.setCustomField17(reqDto.getCustomField17());//SimpleFieldAssign//sourceId:1690230_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue17(reqDto.getCustomFieldValue17());//SimpleFieldAssign//sourceId:1690231_1
            analysisFieldBatchDataComReqDto.setCustomField18(reqDto.getCustomField18());//SimpleFieldAssign//sourceId:1690232_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue18(reqDto.getCustomFieldValue18());//SimpleFieldAssign//sourceId:1690233_1
            analysisFieldBatchDataComReqDto.setCustomField19(reqDto.getCustomField19());//SimpleFieldAssign//sourceId:1690234_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue19(reqDto.getCustomFieldValue19());//SimpleFieldAssign//sourceId:1690235_1
            analysisFieldBatchDataComReqDto.setCustomField20(reqDto.getCustomField20());//SimpleFieldAssign//sourceId:1690236_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue20(reqDto.getCustomFieldValue20());//SimpleFieldAssign//sourceId:1690237_1
            analysisFieldBatchDataComReqDto.setCustomField21(reqDto.getCustomField21());//SimpleFieldAssign//sourceId:1690238_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue21(reqDto.getCustomFieldValue21());//SimpleFieldAssign//sourceId:1690239_1
            analysisFieldBatchDataComReqDto.setCustomField22(reqDto.getCustomField22());//SimpleFieldAssign//sourceId:1690240_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue22(reqDto.getCustomFieldValue22());//SimpleFieldAssign//sourceId:1690241_1
            analysisFieldBatchDataComReqDto.setCustomField23(reqDto.getCustomField23());//SimpleFieldAssign//sourceId:1690242_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue23(reqDto.getCustomFieldValue23());//SimpleFieldAssign//sourceId:1690243_1
            analysisFieldBatchDataComReqDto.setCustomField24(reqDto.getCustomField24());//SimpleFieldAssign//sourceId:1690244_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue24(reqDto.getCustomFieldValue24());//SimpleFieldAssign//sourceId:1690245_1
            analysisFieldBatchDataComReqDto.setCustomField25(reqDto.getCustomField25());//SimpleFieldAssign//sourceId:1690246_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue25(reqDto.getCustomFieldValue25());//SimpleFieldAssign//sourceId:1690247_1
            analysisFieldBatchDataComReqDto.setCustomField26(reqDto.getCustomField26());//SimpleFieldAssign//sourceId:1690248_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue26(reqDto.getCustomFieldValue26());//SimpleFieldAssign//sourceId:1690249_1
            analysisFieldBatchDataComReqDto.setCustomField27(reqDto.getCustomField27());//SimpleFieldAssign//sourceId:1690250_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue27(reqDto.getCustomFieldValue27());//SimpleFieldAssign//sourceId:1690251_1
            analysisFieldBatchDataComReqDto.setCustomField28(reqDto.getCustomField28());//SimpleFieldAssign//sourceId:1690252_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue28(reqDto.getCustomFieldValue28());//SimpleFieldAssign//sourceId:1690253_1
            analysisFieldBatchDataComReqDto.setCustomField29(reqDto.getCustomField29());//SimpleFieldAssign//sourceId:1690254_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue29(reqDto.getCustomFieldValue29());//SimpleFieldAssign//sourceId:1690255_1
            analysisFieldBatchDataComReqDto.setCustomField30(reqDto.getCustomField30());//SimpleFieldAssign//sourceId:1690256_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue30(reqDto.getCustomFieldValue30());//SimpleFieldAssign//sourceId:1690257_1
            analysisFieldBatchDataComReqDto.setCustomField31(reqDto.getCustomField31());//SimpleFieldAssign//sourceId:1690258_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue31(reqDto.getCustomFieldValue31());//SimpleFieldAssign//sourceId:1690259_1
            analysisFieldBatchDataComReqDto.setCustomField32(reqDto.getCustomField32());//SimpleFieldAssign//sourceId:1690260_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue32(reqDto.getCustomFieldValue32());//SimpleFieldAssign//sourceId:1690261_1
            analysisFieldBatchDataComReqDto.setCustomField33(reqDto.getCustomField33());//SimpleFieldAssign//sourceId:1690262_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue33(reqDto.getCustomFieldValue33());//SimpleFieldAssign//sourceId:1690263_1
            analysisFieldBatchDataComReqDto.setCustomField34(reqDto.getCustomField34());//SimpleFieldAssign//sourceId:1690264_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue34(reqDto.getCustomFieldValue34());//SimpleFieldAssign//sourceId:1690265_1
            analysisFieldBatchDataComReqDto.setCustomField35(reqDto.getCustomField35());//SimpleFieldAssign//sourceId:1690266_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue35(reqDto.getCustomFieldValue35());//SimpleFieldAssign//sourceId:1690267_1
            analysisFieldBatchDataComReqDto.setCustomField36(reqDto.getCustomField36());//SimpleFieldAssign//sourceId:1690268_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue36(reqDto.getCustomFieldValue36());//SimpleFieldAssign//sourceId:1690269_1
            analysisFieldBatchDataComReqDto.setCustomField37(reqDto.getCustomField37());//SimpleFieldAssign//sourceId:1690270_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue37(reqDto.getCustomFieldValue37());//SimpleFieldAssign//sourceId:1690271_1
            analysisFieldBatchDataComReqDto.setCustomField38(reqDto.getCustomField38());//SimpleFieldAssign//sourceId:1690272_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue38(reqDto.getCustomFieldValue38());//SimpleFieldAssign//sourceId:1690273_1
            analysisFieldBatchDataComReqDto.setCustomField39(reqDto.getCustomField39());//SimpleFieldAssign//sourceId:1690274_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue39(reqDto.getCustomFieldValue39());//SimpleFieldAssign//sourceId:1690275_1
            analysisFieldBatchDataComReqDto.setCustomField40(reqDto.getCustomField40());//SimpleFieldAssign//sourceId:1690276_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue40(reqDto.getCustomFieldValue40());//SimpleFieldAssign//sourceId:1690277_1
            analysisFieldBatchDataComReqDto.setCustomField41(reqDto.getCustomField41());//SimpleFieldAssign//sourceId:1690278_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue41(reqDto.getCustomFieldValue41());//SimpleFieldAssign//sourceId:1690279_1
            analysisFieldBatchDataComReqDto.setCustomField42(reqDto.getCustomField42());//SimpleFieldAssign//sourceId:1690280_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue42(reqDto.getCustomFieldValue42());//SimpleFieldAssign//sourceId:1690281_1
            analysisFieldBatchDataComReqDto.setCustomField43(reqDto.getCustomField43());//SimpleFieldAssign//sourceId:1690282_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue43(reqDto.getCustomFieldValue43());//SimpleFieldAssign//sourceId:1690283_1
            analysisFieldBatchDataComReqDto.setCustomField44(reqDto.getCustomField44());//SimpleFieldAssign//sourceId:1690284_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue44(reqDto.getCustomFieldValue44());//SimpleFieldAssign//sourceId:1690285_1
            analysisFieldBatchDataComReqDto.setCustomField45(reqDto.getCustomField45());//SimpleFieldAssign//sourceId:1690286_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue45(reqDto.getCustomFieldValue45());//SimpleFieldAssign//sourceId:1690287_1
            analysisFieldBatchDataComReqDto.setCustomField46(reqDto.getCustomField46());//SimpleFieldAssign//sourceId:1690288_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue46(reqDto.getCustomFieldValue46());//SimpleFieldAssign//sourceId:1690289_1
            analysisFieldBatchDataComReqDto.setCustomField47(reqDto.getCustomField47());//SimpleFieldAssign//sourceId:1690290_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue47(reqDto.getCustomFieldValue47());//SimpleFieldAssign//sourceId:1690291_1
            analysisFieldBatchDataComReqDto.setCustomField48(reqDto.getCustomField48());//SimpleFieldAssign//sourceId:1690292_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue48(reqDto.getCustomFieldValue48());//SimpleFieldAssign//sourceId:1690293_1
            analysisFieldBatchDataComReqDto.setCustomField49(reqDto.getCustomField49());//SimpleFieldAssign//sourceId:1690294_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue49(reqDto.getCustomFieldValue49());//SimpleFieldAssign//sourceId:1690295_1
            analysisFieldBatchDataComReqDto.setCustomField50(reqDto.getCustomField50());//SimpleFieldAssign//sourceId:1690296_1
            analysisFieldBatchDataComReqDto.setCustomFieldValue50(reqDto.getCustomFieldValue50());//SimpleFieldAssign//sourceId:1690297_1
        }

        /*D2-分析单字段批量转数据集(公共)[8405]   */

        analysisFieldBatchDataComRespDto = interfaceModeService.analysisFieldBatchDataCom(analysisFieldBatchDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D1新增框架内存业务数据(公共) - addFrameWorkMemoryBusinessDataCom
        AddFrameWorkMemoryBusinessDataComRespDto addFrameWorkMemoryBusinessDataComRespDto = null;
        if (analysisFieldBatchDataComRespDto != null) {
            AddFrameWorkMemoryBusinessDataComReqDto addFrameWorkMemoryBusinessDataComReqDto = new AddFrameWorkMemoryBusinessDataComReqDto();
            if (analysisFieldBatchDataComRespDto != null && analysisFieldBatchDataComRespDto.getFieldBatchDataList() != null && !CollectionUtil.isEmpty(analysisFieldBatchDataComRespDto.getFieldBatchDataList())) {
                addFrameWorkMemoryBusinessDataComReqDto.setMemoryBusinessDataList(analysisFieldBatchDataComRespDto.getFieldBatchDataList().stream().map(item -> BeanUtil.toBean(item, MemoryBusinessDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1690194_1
            }
            if (reqDto != null) {
                addFrameWorkMemoryBusinessDataComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1690195_1
                addFrameWorkMemoryBusinessDataComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1690196_1
                addFrameWorkMemoryBusinessDataComReqDto.setIsDataList(reqDto.getIsDataList());//SimpleFieldAssign//sourceId:1690197_1
            }

            /*D1新增框架内存业务数据(公共)[9136]   */
            Assert.isNull(addFrameWorkMemoryBusinessDataComReqDto.getDataObjectBatchCode(), "D1新增框架内存业务数据(业务原子)-D1新增框架内存业务数据(公共)-数据对象批次标识不能为空", false);
            Assert.isNull(addFrameWorkMemoryBusinessDataComReqDto.getBusinessDataObject(), "D1新增框架内存业务数据(业务原子)-D1新增框架内存业务数据(公共)-业务数据对象不能为空", false);
            Assert.isNull(addFrameWorkMemoryBusinessDataComReqDto.getIsDataList(), "D1新增框架内存业务数据(业务原子)-D1新增框架内存业务数据(公共)-是否是数据集对象不能为空", false);
            addFrameWorkMemoryBusinessDataComRespDto = interfaceModeService.addFrameWorkMemoryBusinessDataCom(addFrameWorkMemoryBusinessDataComReqDto)/*vcase invoke isSameApp*/;


        }

        AddFrameWorkMemoryBusinessSetDataComRespDto retData = new AddFrameWorkMemoryBusinessSetDataComRespDto();


        return retData;
    }

    /**
     * D1分段查询框架服务数据对象(业务原子)[9689]
     * gen by moon at 6/10/2024, 1:20:48 AM
     */
    @Trace(operationName = "D1分段查询框架服务数据对象(业务原子)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementSegQueryBaseDataSetComRespDto implementSegQueryBaseDataSetCom(ImplementSegQueryBaseDataSetComReqDto reqDto) {


        ImplementGeneralSegBaseDataComRespDto implementGeneralSegBaseDataComRespDto_1 = null;
//步骤0: D2-分析单字段批量转数据集(公共) - analysisFieldBatchDataCom
        AnalysisFieldBatchDataComRespDto analysisFieldBatchDataComRespDto = null;
        AnalysisFieldBatchDataComReqDto analysisFieldBatchDataComReqDto = new AnalysisFieldBatchDataComReqDto();
        analysisFieldBatchDataComReqDto.setCustomFieldValue1("customField1");//CUSTOM_CONVENTION//sourceId:1830472_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue2("customField2");//CUSTOM_CONVENTION//sourceId:1830474_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue3("customField3");//CUSTOM_CONVENTION//sourceId:1830476_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue4("customField4");//CUSTOM_CONVENTION//sourceId:1830478_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue5("customField5");//CUSTOM_CONVENTION//sourceId:1830480_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue6("customField6");//CUSTOM_CONVENTION//sourceId:1830482_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue7("customField7");//CUSTOM_CONVENTION//sourceId:1830484_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue8("customField8");//CUSTOM_CONVENTION//sourceId:1830486_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue9("customField9");//CUSTOM_CONVENTION//sourceId:1830488_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue10("customField10");//CUSTOM_CONVENTION//sourceId:1830490_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue11("customField11");//CUSTOM_CONVENTION//sourceId:1830492_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue12("customField12");//CUSTOM_CONVENTION//sourceId:1830494_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue13("customField13");//CUSTOM_CONVENTION//sourceId:1830496_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue14("customField14");//CUSTOM_CONVENTION//sourceId:1830498_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue15("customField15");//CUSTOM_CONVENTION//sourceId:1830500_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue16("customField16");//CUSTOM_CONVENTION//sourceId:1830502_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue17("customField17");//CUSTOM_CONVENTION//sourceId:1830504_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue18("customField18");//CUSTOM_CONVENTION//sourceId:1830506_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue19("customField19");//CUSTOM_CONVENTION//sourceId:1830508_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue20("customField20");//CUSTOM_CONVENTION//sourceId:1830510_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue21("customField21");//CUSTOM_CONVENTION//sourceId:1830512_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue22("customField22");//CUSTOM_CONVENTION//sourceId:1830514_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue23("customField23");//CUSTOM_CONVENTION//sourceId:1830516_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue24("customField24");//CUSTOM_CONVENTION//sourceId:1830518_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue25("customField25");//CUSTOM_CONVENTION//sourceId:1830520_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue26("customField26");//CUSTOM_CONVENTION//sourceId:1830522_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue27("customField27");//CUSTOM_CONVENTION//sourceId:1830524_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue28("customField28");//CUSTOM_CONVENTION//sourceId:1830526_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue29("customField29");//CUSTOM_CONVENTION//sourceId:1830528_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue30("customField30");//CUSTOM_CONVENTION//sourceId:1830530_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue31("customField31");//CUSTOM_CONVENTION//sourceId:1830532_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue32("customField32");//CUSTOM_CONVENTION//sourceId:1830534_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue33("customField33");//CUSTOM_CONVENTION//sourceId:1830536_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue34("customField34");//CUSTOM_CONVENTION//sourceId:1830538_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue35("customField35");//CUSTOM_CONVENTION//sourceId:1830540_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue36("customField36");//CUSTOM_CONVENTION//sourceId:1830542_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue37("customField37");//CUSTOM_CONVENTION//sourceId:1830544_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue38("customField38");//CUSTOM_CONVENTION//sourceId:1830546_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue39("customField39");//CUSTOM_CONVENTION//sourceId:1830548_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue40("customField40");//CUSTOM_CONVENTION//sourceId:1830550_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue41("customField41");//CUSTOM_CONVENTION//sourceId:1830552_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue42("customField42");//CUSTOM_CONVENTION//sourceId:1830554_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue43("customField43");//CUSTOM_CONVENTION//sourceId:1830556_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue44("customField44");//CUSTOM_CONVENTION//sourceId:1830558_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue45("customField45");//CUSTOM_CONVENTION//sourceId:1830560_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue46("customField46");//CUSTOM_CONVENTION//sourceId:1830562_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue47("customField47");//CUSTOM_CONVENTION//sourceId:1830564_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue48("customField48");//CUSTOM_CONVENTION//sourceId:1830566_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue49("customField49");//CUSTOM_CONVENTION//sourceId:1830568_1
        analysisFieldBatchDataComReqDto.setCustomFieldValue50("customField50");//CUSTOM_CONVENTION//sourceId:1830570_1
        if (reqDto != null) {
            analysisFieldBatchDataComReqDto.setCustomField1(reqDto.getCustomField1());//SimpleFieldAssign//sourceId:1830471_1
            analysisFieldBatchDataComReqDto.setCustomField2(reqDto.getCustomField2());//SimpleFieldAssign//sourceId:1830473_1
            analysisFieldBatchDataComReqDto.setCustomField3(reqDto.getCustomField3());//SimpleFieldAssign//sourceId:1830475_1
            analysisFieldBatchDataComReqDto.setCustomField4(reqDto.getCustomField4());//SimpleFieldAssign//sourceId:1830477_1
            analysisFieldBatchDataComReqDto.setCustomField5(reqDto.getCustomField5());//SimpleFieldAssign//sourceId:1830479_1
            analysisFieldBatchDataComReqDto.setCustomField6(reqDto.getCustomField6());//SimpleFieldAssign//sourceId:1830481_1
            analysisFieldBatchDataComReqDto.setCustomField7(reqDto.getCustomField7());//SimpleFieldAssign//sourceId:1830483_1
            analysisFieldBatchDataComReqDto.setCustomField8(reqDto.getCustomField8());//SimpleFieldAssign//sourceId:1830485_1
            analysisFieldBatchDataComReqDto.setCustomField9(reqDto.getCustomField9());//SimpleFieldAssign//sourceId:1830487_1
            analysisFieldBatchDataComReqDto.setCustomField10(reqDto.getCustomField10());//SimpleFieldAssign//sourceId:1830489_1
            analysisFieldBatchDataComReqDto.setCustomField11(reqDto.getCustomField11());//SimpleFieldAssign//sourceId:1830491_1
            analysisFieldBatchDataComReqDto.setCustomField12(reqDto.getCustomField12());//SimpleFieldAssign//sourceId:1830493_1
            analysisFieldBatchDataComReqDto.setCustomField13(reqDto.getCustomField13());//SimpleFieldAssign//sourceId:1830495_1
            analysisFieldBatchDataComReqDto.setCustomField14(reqDto.getCustomField14());//SimpleFieldAssign//sourceId:1830497_1
            analysisFieldBatchDataComReqDto.setCustomField15(reqDto.getCustomField15());//SimpleFieldAssign//sourceId:1830499_1
            analysisFieldBatchDataComReqDto.setCustomField16(reqDto.getCustomField16());//SimpleFieldAssign//sourceId:1830501_1
            analysisFieldBatchDataComReqDto.setCustomField17(reqDto.getCustomField17());//SimpleFieldAssign//sourceId:1830503_1
            analysisFieldBatchDataComReqDto.setCustomField18(reqDto.getCustomField18());//SimpleFieldAssign//sourceId:1830505_1
            analysisFieldBatchDataComReqDto.setCustomField19(reqDto.getCustomField19());//SimpleFieldAssign//sourceId:1830507_1
            analysisFieldBatchDataComReqDto.setCustomField20(reqDto.getCustomField20());//SimpleFieldAssign//sourceId:1830509_1
            analysisFieldBatchDataComReqDto.setCustomField21(reqDto.getCustomField21());//SimpleFieldAssign//sourceId:1830511_1
            analysisFieldBatchDataComReqDto.setCustomField22(reqDto.getCustomField22());//SimpleFieldAssign//sourceId:1830513_1
            analysisFieldBatchDataComReqDto.setCustomField23(reqDto.getCustomField23());//SimpleFieldAssign//sourceId:1830515_1
            analysisFieldBatchDataComReqDto.setCustomField24(reqDto.getCustomField24());//SimpleFieldAssign//sourceId:1830517_1
            analysisFieldBatchDataComReqDto.setCustomField25(reqDto.getCustomField25());//SimpleFieldAssign//sourceId:1830519_1
            analysisFieldBatchDataComReqDto.setCustomField26(reqDto.getCustomField26());//SimpleFieldAssign//sourceId:1830521_1
            analysisFieldBatchDataComReqDto.setCustomField27(reqDto.getCustomField27());//SimpleFieldAssign//sourceId:1830523_1
            analysisFieldBatchDataComReqDto.setCustomField28(reqDto.getCustomField28());//SimpleFieldAssign//sourceId:1830525_1
            analysisFieldBatchDataComReqDto.setCustomField29(reqDto.getCustomField29());//SimpleFieldAssign//sourceId:1830527_1
            analysisFieldBatchDataComReqDto.setCustomField30(reqDto.getCustomField30());//SimpleFieldAssign//sourceId:1830529_1
            analysisFieldBatchDataComReqDto.setCustomField31(reqDto.getCustomField31());//SimpleFieldAssign//sourceId:1830531_1
            analysisFieldBatchDataComReqDto.setCustomField32(reqDto.getCustomField32());//SimpleFieldAssign//sourceId:1830533_1
            analysisFieldBatchDataComReqDto.setCustomField33(reqDto.getCustomField33());//SimpleFieldAssign//sourceId:1830535_1
            analysisFieldBatchDataComReqDto.setCustomField34(reqDto.getCustomField34());//SimpleFieldAssign//sourceId:1830537_1
            analysisFieldBatchDataComReqDto.setCustomField35(reqDto.getCustomField35());//SimpleFieldAssign//sourceId:1830539_1
            analysisFieldBatchDataComReqDto.setCustomField36(reqDto.getCustomField36());//SimpleFieldAssign//sourceId:1830541_1
            analysisFieldBatchDataComReqDto.setCustomField37(reqDto.getCustomField37());//SimpleFieldAssign//sourceId:1830543_1
            analysisFieldBatchDataComReqDto.setCustomField38(reqDto.getCustomField38());//SimpleFieldAssign//sourceId:1830545_1
            analysisFieldBatchDataComReqDto.setCustomField39(reqDto.getCustomField39());//SimpleFieldAssign//sourceId:1830547_1
            analysisFieldBatchDataComReqDto.setCustomField40(reqDto.getCustomField40());//SimpleFieldAssign//sourceId:1830549_1
            analysisFieldBatchDataComReqDto.setCustomField41(reqDto.getCustomField41());//SimpleFieldAssign//sourceId:1830551_1
            analysisFieldBatchDataComReqDto.setCustomField42(reqDto.getCustomField42());//SimpleFieldAssign//sourceId:1830553_1
            analysisFieldBatchDataComReqDto.setCustomField43(reqDto.getCustomField43());//SimpleFieldAssign//sourceId:1830555_1
            analysisFieldBatchDataComReqDto.setCustomField44(reqDto.getCustomField44());//SimpleFieldAssign//sourceId:1830557_1
            analysisFieldBatchDataComReqDto.setCustomField45(reqDto.getCustomField45());//SimpleFieldAssign//sourceId:1830559_1
            analysisFieldBatchDataComReqDto.setCustomField46(reqDto.getCustomField46());//SimpleFieldAssign//sourceId:1830561_1
            analysisFieldBatchDataComReqDto.setCustomField47(reqDto.getCustomField47());//SimpleFieldAssign//sourceId:1830563_1
            analysisFieldBatchDataComReqDto.setCustomField48(reqDto.getCustomField48());//SimpleFieldAssign//sourceId:1830565_1
            analysisFieldBatchDataComReqDto.setCustomField49(reqDto.getCustomField49());//SimpleFieldAssign//sourceId:1830567_1
            analysisFieldBatchDataComReqDto.setCustomField50(reqDto.getCustomField50());//SimpleFieldAssign//sourceId:1830569_1
        }

        /*D2-分析单字段批量转数据集(公共)[8405]   */
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue1(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值1不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue2(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值2不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue3(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值3不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue4(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值4不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue5(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值5不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue6(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值6不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue7(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值7不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue8(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值8不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue9(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值9不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue10(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值10不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue11(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值11不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue12(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值12不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue13(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值13不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue14(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值14不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue15(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值15不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue16(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值16不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue17(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值17不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue18(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值18不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue19(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值19不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue20(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值20不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue21(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值21不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue22(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值22不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue23(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值23不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue24(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值24不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue25(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值25不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue26(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值26不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue27(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值27不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue28(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值28不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue29(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值29不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue30(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值30不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue31(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值31不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue32(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值32不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue33(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值33不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue34(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值34不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue35(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值35不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue36(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值36不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue37(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值37不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue38(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值38不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue39(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值39不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue40(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值40不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue41(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值41不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue42(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值42不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue43(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值43不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue44(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值44不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue45(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值45不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue46(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值46不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue47(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值47不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue48(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值48不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue49(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值49不能为空", false);
        Assert.isNull(analysisFieldBatchDataComReqDto.getCustomFieldValue50(), "D1分段查询框架服务数据对象(业务原子)-D2-分析单字段批量转数据集(公共)-自定义字段值50不能为空", false);
        analysisFieldBatchDataComRespDto = interfaceModeService.analysisFieldBatchDataCom(analysisFieldBatchDataComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D1分段查询框架服务数据对象(公共) - implementGeneralSegBaseDataCom
        ImplementGeneralSegBaseDataComRespDto implementGeneralSegBaseDataComRespDto = null;
        if (analysisFieldBatchDataComRespDto != null) {
            ImplementGeneralSegBaseDataComReqDto implementGeneralSegBaseDataComReqDto = new ImplementGeneralSegBaseDataComReqDto();
            if (reqDto != null) {
                implementGeneralSegBaseDataComReqDto.setBusinessDataSetTableName(reqDto.getBusinessDataSetTableName());//SimpleFieldAssign//sourceId:1830448_1
                implementGeneralSegBaseDataComReqDto.setDatasNum(reqDto.getDatasNum());//SimpleFieldAssign//sourceId:1830449_1
                implementGeneralSegBaseDataComReqDto.setOrderFieldName(reqDto.getOrderFieldName());//SimpleFieldAssign//sourceId:1830450_1
                implementGeneralSegBaseDataComReqDto.setOrderRule(reqDto.getOrderRule());//SimpleFieldAssign//sourceId:1830451_1
                implementGeneralSegBaseDataComReqDto.setBusinessDataSetPrimaryKeyName(reqDto.getBusinessDataSetPrimaryKeyName());//SimpleFieldAssign//sourceId:1830452_1
                implementGeneralSegBaseDataComReqDto.setLastDataObjectId(reqDto.getLastDataObjectId());//SimpleFieldAssign//sourceId:1830453_1
                implementGeneralSegBaseDataComReqDto.setRefCustomField1(reqDto.getRefCustomField1());//SimpleFieldAssign//sourceId:1830454_1
                implementGeneralSegBaseDataComReqDto.setRefCustomFieldValue1(reqDto.getRefCustomFieldValue1());//SimpleFieldAssign//sourceId:1830455_1
                implementGeneralSegBaseDataComReqDto.setRefCustomField2(reqDto.getRefCustomField2());//SimpleFieldAssign//sourceId:1830456_1
                implementGeneralSegBaseDataComReqDto.setRefCustomFieldValue2(reqDto.getRefCustomFieldValue2());//SimpleFieldAssign//sourceId:1830457_1
                implementGeneralSegBaseDataComReqDto.setRefCustomField3(reqDto.getRefCustomField3());//SimpleFieldAssign//sourceId:1830458_1
                implementGeneralSegBaseDataComReqDto.setRefCustomFieldValue3(reqDto.getRefCustomFieldValue3());//SimpleFieldAssign//sourceId:1830459_1
                implementGeneralSegBaseDataComReqDto.setRefCustomField4(reqDto.getRefCustomField4());//SimpleFieldAssign//sourceId:1830460_1
                implementGeneralSegBaseDataComReqDto.setRefCustomFieldValue4(reqDto.getRefCustomFieldValue4());//SimpleFieldAssign//sourceId:1830461_1
                implementGeneralSegBaseDataComReqDto.setRefCustomField5(reqDto.getRefCustomField5());//SimpleFieldAssign//sourceId:1830462_1
                implementGeneralSegBaseDataComReqDto.setRefCustomFieldValue5(reqDto.getRefCustomFieldValue5());//SimpleFieldAssign//sourceId:1830463_1
                implementGeneralSegBaseDataComReqDto.setRefCustomField6(reqDto.getRefCustomField6());//SimpleFieldAssign//sourceId:1830464_1
                implementGeneralSegBaseDataComReqDto.setRefCustomFieldValue6(reqDto.getRefCustomFieldValue6());//SimpleFieldAssign//sourceId:1830465_1
                implementGeneralSegBaseDataComReqDto.setRefCustomField7(reqDto.getRefCustomField7());//SimpleFieldAssign//sourceId:1830466_1
                implementGeneralSegBaseDataComReqDto.setRefCustomFieldValue7(reqDto.getRefCustomFieldValue7());//SimpleFieldAssign//sourceId:1830467_1
                implementGeneralSegBaseDataComReqDto.setRefCustomField8(reqDto.getRefCustomField8());//SimpleFieldAssign//sourceId:1830468_1
                implementGeneralSegBaseDataComReqDto.setRefCustomFieldValue8(reqDto.getRefCustomFieldValue8());//SimpleFieldAssign//sourceId:1830469_1
            }
            if (analysisFieldBatchDataComRespDto != null && analysisFieldBatchDataComRespDto.getFieldBatchDataList() != null && !CollectionUtil.isEmpty(analysisFieldBatchDataComRespDto.getFieldBatchDataList())) {
                implementGeneralSegBaseDataComReqDto.setOutputDataList(//objList-to-objLists
                        analysisFieldBatchDataComRespDto.getFieldBatchDataList().stream().map(item -> {
                            OutputDataDto elm = new OutputDataDto();
                            if (item != null) {
                                elm.setFieldName(item.getFieldName());//SimpleFieldAssign//sourceId:372762_2
                                elm.setMapFieldName(item.getFieldValue());//SimpleFieldAssign//sourceId:368624_2
                            }
                            return elm;
                        }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1830573_1
            }

            /*D1分段查询框架服务数据对象(公共)[9688]   */
            Assert.isNull(implementGeneralSegBaseDataComReqDto.getBusinessDataSetTableName(), "D1分段查询框架服务数据对象(业务原子)-D1分段查询框架服务数据对象(公共)-数据对象表名不能为空", false);
            Assert.isNull(implementGeneralSegBaseDataComReqDto.getDatasNum(), "D1分段查询框架服务数据对象(业务原子)-D1分段查询框架服务数据对象(公共)-数据条数不能为空", false);
            Assert.isNull(implementGeneralSegBaseDataComReqDto.getOrderFieldName(), "D1分段查询框架服务数据对象(业务原子)-D1分段查询框架服务数据对象(公共)-排序字段名不能为空", false);
            Assert.isNull(implementGeneralSegBaseDataComReqDto.getOrderRule(), "D1分段查询框架服务数据对象(业务原子)-D1分段查询框架服务数据对象(公共)-排序规则不能为空", false);
            Assert.isNull(implementGeneralSegBaseDataComReqDto.getBusinessDataSetPrimaryKeyName(), "D1分段查询框架服务数据对象(业务原子)-D1分段查询框架服务数据对象(公共)-数据对象主键名不能为空", false);
            Assert.isNull(implementGeneralSegBaseDataComReqDto.getRefCustomFieldValue7(), "D1分段查询框架服务数据对象(业务原子)-D1分段查询框架服务数据对象(公共)-入参自定义字段值7不能为空", false);
            Assert.isNull(implementGeneralSegBaseDataComReqDto.getRefCustomField8(), "D1分段查询框架服务数据对象(业务原子)-D1分段查询框架服务数据对象(公共)-入参自定义字段8不能为空", false);
            Assert.isNull(implementGeneralSegBaseDataComReqDto.getRefCustomFieldValue8(), "D1分段查询框架服务数据对象(业务原子)-D1分段查询框架服务数据对象(公共)-入参自定义字段值8不能为空", false);
            implementGeneralSegBaseDataComRespDto = interfaceModeService.implementGeneralSegBaseDataCom(implementGeneralSegBaseDataComReqDto)/*vcase invoke isSameApp*/;


            implementGeneralSegBaseDataComRespDto_1 = implementGeneralSegBaseDataComRespDto;
        }

        ImplementSegQueryBaseDataSetComRespDto retData = new ImplementSegQueryBaseDataSetComRespDto();
        if (implementGeneralSegBaseDataComRespDto_1 != null) {
            retData.setBaseDataList(implementGeneralSegBaseDataComRespDto_1.getBaseDataList().stream().map(item -> BeanUtil.toBean(item, BaseDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1830646_1
        }


        return retData;
    }
    //
}
